import { createApp} from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import 'font-awesome/css/font-awesome.css'
import * as Elicons from '@element-plus/icons-vue'
import axios from "./http"   //引入封装的axios
import VueAxios from "vue-axios";
//import md5 from 'js-md5';

const app = createApp(App);
Object.keys(Elicons).forEach(key => {
    app.component(key, Elicons[key]);
})

app.use(store);
app.use(router);
app.use(ElementPlus, {size: 'default'});
//app.use(md5);
app.use(VueAxios, axios);

app.mount('#app');